﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
    About Us
</asp:Content>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>About</h2>
    
    <% 
        List<string> alunos = (List<string>) ViewData["alunos"];
        bool ehPar = false;
        
        foreach (string a in alunos)
        {
            if (ehPar)
            {
                
            %>
            <label style="background-color:Aqua; font-size:medium"> <%= a%></label>

            <%        
}
            else
            {
                %>
            <label style="background-color:Blue; font-size:medium" > <%= a%></label>    
                <%
            }
                    ehPar = !ehPar;
            
            %>
            <br />
            <br />
            <%
                
        }
            %>



</asp:Content>
